﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ATMMachine
{
    class InputMan
    {
        public InputMan() { }
        public static int getInt()
        {
            int tempi;
            String temp = Console.ReadLine();
            try
            {
                tempi = Convert.ToInt32(temp);
            }
            catch (Exception)
            {
                return 0;
            }
            return tempi;
        }
    }
}
